package com.yic.module.mes.convert.modetail;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.mes.controller.admin.modetail.vo.*;
import com.yic.module.mes.dal.dataobject.modetail.MoDetailDO;

/**
 * 工单明细 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface MoDetailConvert {

    MoDetailConvert INSTANCE = Mappers.getMapper(MoDetailConvert.class);

    MoDetailDO convert(MoDetailCreateReqVO bean);

    MoDetailDO convert(MoDetailUpdateReqVO bean);

    MoDetailRespVO convert(MoDetailDO bean);

    List<MoDetailRespVO> convertList(List<MoDetailDO> list);

    PageResult<MoDetailRespVO> convertPage(PageResult<MoDetailDO> page);

    List<MoDetailExcelVO> convertList02(List<MoDetailDO> list);

    List<MoDetailDO> convertList03(List<MoDetailCreateReqVO> createReqVOs);
}
